package com.imooc.infra.mapping;

import com.imooc.business.domain.Storage;
import com.imooc.infra.repository.entity.TDataCenterStorage;
import org.mapstruct.Mapper;

/**
 * @Author Tim
 * @Description:
 * @Version 1.0
 */
@Mapper(componentModel = "spring")
public interface StorageMapping {
    TDataCenterStorage toEntity(Storage storage);

    Storage toVo(TDataCenterStorage storage);

}
